﻿using BackData;
using MediatR;

namespace Team.API.Applocation.Command.Equipment
{
    /// <summary>
    /// 设备更新命令
    /// 实现MediatR的IRequest接口，用于处理设备更新操作，返回包含更新后设备ID的APIResult
    /// </summary>
    public class UpdateEquipmentCommand : IRequest<APIResult<int>>
    {
        /// <summary>
        /// 设备id
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 设备名称
        /// </summary>
        public string EquipmentName { get; set; }
        /// <summary>
        /// 设备负责人
        /// </summary>
        public string Manager { get; set; }
        /// <summary>
        /// 设备状态  1:维修中  2:正常  3：使用中
        /// </summary>
        public int EquipmentStatus { get; set; }
    }
}
